package org.jeecg.modules.appuser.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.appuser.entity.TbMnCollect;
import org.jeecg.modules.appuser.entity.TbUserAlipay;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 用户支付宝账户
 * @Author: jeecg-boot
 * @Date:   2020-05-18
 * @Version: V1.0
 */
public interface ITbUserAlipayService extends IService<TbUserAlipay> {

    Result<?> cashAlipayBinding(TbUserAlipay tbUserAlipay);

    Result<?> uncashAlipayBinding(String user_id);

    TbUserAlipay getByUserId(String userId);

    IPage<TbMnCollect> pageAndUserData(Page<TbMnCollect> page, TbUserAlipay tbUserAlipay);
}
